package com.chinairi.mall.service;

import com.chinairi.mall.model.ReSeAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 收/发货地址表 服务类
 * </p>
 *
 * @author gsl
 * @since 2020-09-16
 */
public interface IReSeAddressService extends IService<ReSeAddress> {
    /**
     * 新增
     *
     * @param reSeAddress
     */
    void add(ReSeAddress reSeAddress, HttpServletRequest request);

    /**
     * 获取用户的收发货地址
     *
     * @param request
     * @return
     */
    List<ReSeAddress> get(HttpServletRequest request);

}
